﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using DunSilverlight.Web.Comm;
using DunLibrary.Dun;

namespace DunSilverlight.Web.DunWcf
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“ICaseService”。
    [ServiceContract]
    public interface ICaseService:IBaseService<Case>
    {
        [OperationContract]
        string AllotCase(string jsonCaseIds, int operId);

        [OperationContract]
        string QuickAllocCase(string hql, string operIdsStr);
        [OperationContract]
        string QuickAllocCaseWithCaseIds(string caseIdsStr, string operIdsStr);

        [OperationContract]
        string UndoCaseAlloc(string hql);
        [OperationContract]
        string UndoCaseAllocWithCaseIds(string caseIdsStr);
    }
}
